package com.chenyue.cm.group.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.group.dao.GroupInfoMapper;
import com.chenyue.cm.group.domain.GroupInfo;
import com.chenyue.cm.group.service.GroupInfoService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "GroupInfoService")
public class GroupInfoServiceImpl extends BaseServiceImpl<GroupInfo> implements GroupInfoService {

    private final GroupInfoMapper groupInfoMapper;

    public GroupInfoServiceImpl(@Qualifier("groupInfoMapper") GroupInfoMapper groupInfoMapper) {
        this.groupInfoMapper = groupInfoMapper;
    }

    @Override
    @Resource(name = "groupInfoMapper")
    public void setBaseMapper(LcBaseMapper<GroupInfo, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
